package george_foreman

class Player {
    String name
    int classYear
    int wins
    int losses
    String main

    static hasMany = [
            tournaments: Entry
    ]

    static constraints = {
        classYear(nullable:true)
        wins(nullable:true)
        losses(nullable:true)
        main(nullable:true)
    }

    String toString = {
        return name;
    }
}
